package com.partner.match.model.enums;

/**
 * @Author: jzz
 * @CreateTime: 2025-01-20
 * @Description: 用户角色枚举
 */
public enum UserRoleEnum {
    USER("用户",0),

    ADMIN("管理员",1);

    private final String text;
    private final Integer value;

    UserRoleEnum(String text, Integer value) {
        this.text = text;
        this.value = value;
    }

    public String getText() {
        return text;
    }

    public Integer getValue() {
        return value;
    }
}
